﻿<!DOCTYPE>
<!-- saved from url=(0050)http://localhost:8080/HouseRent/manage!list.action -->
<HTML xmlns:th="http://www.thymeleaf.org"><HEAD>
<TITLE>爱家租房 - 用户管理</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type><LINK 
rel=stylesheet type=text/css href="../css/style.css">

<META name=GENERATOR ></HEAD>
<BODY>
<DIV id=header class=wrap>
<DIV id=logo><IMG src="../images/logo.gif"></DIV>
<DIV class=search><LABEL class="ui-green searchs"><a th:href="@{/house/toAdd}" title="">发布房屋信息</a></LABEL>
<LABEL class=ui-green><INPUT onclick='document.location="index.jsp"' value="退       出" type=button name=search></LABEL> 
</DIV></DIV>
<DIV class="main wrap">
<DIV id=houseArea>
<TABLE class=house-list>
  <TBODY>

<!--
  <TR>
    <TD class=house-thumb><SPAN><A href="details.html" target="_blank"><img src="../images/thumb_house.gif" width="100" height="75" alt=""></A></SPAN></TD>
    <TD>
      <DL>
        <DT><A href="details.html" target="_blank">123</A></DT>
        <DD>海淀区中关村大街,123平米<BR>联系方式：123 </DD></DL></TD>
  </TR>-->


  <TR th:each="house:${pageInfo.getList()}" class="odd">
    <td class=house-thumb><span><A th:href="@{'/house/detalis?id='+${house.id}}" target="_blank">
      <img th:src="@{'/images/'+${house.imagename}}" alt="" width="70px" height="70px">
    </a></span></td>
    <td>
      <dl>
        <dt><A th:href="@{'/house/detalis?id='+${house.id}}" target="_blank">[(${house.title})]</A></dt>
        <dd>[(${house.street.dname})],[(${house.street.name})],[(${house.floorage})]平米<BR>联系方式：[(${house.contact})] </dd></dl></td>

    <TD class=house-type><LABEL class=ui-green><!--<INPUT onclick=update(46) value="修    改" type=button name=search>-->
      <a  th:href="@{/house/toUpdateHouse(id=${house.id})}" style="color: black">修改</a>
    </LABEL></TD>
    <TD class=house-price>
      <a  th:href="@{/house/deleteHouse(id=${house.id})}" style="color: black">删除</a>
    </TD></TR>


  </TBODY></TABLE></DIV>


<DIV class=pager>

  <span th:text="${pageInfo.getTotal()}"></span>条数据
  <span th:text="${pageInfo.pageNum}"></span>/<span th:text="${pageInfo.pages}"></span>页
  <span th:if="${pageInfo.isFirstPage==true}"><a th:href="@{/house/guanli(pageNum=1)}">上一页</a></span>
  <span th:if="${pageInfo.isFirstPage==false}"><a th:href="@{/house/guanli(pageNum=${pageInfo.pageNum-1})}" >上一页</a></span>
  <span th:each="index: ${#numbers.sequence(1,pageInfo.pages)}">
                        <a th:href="@{/house/guanli(pageNum=${index})}" >[(${index})]</a>
                    </span>
  <span th:if="${pageInfo.isLastPage==true}"><a th:href="@{/house/guanli(pageNum=${pageInfo.pages})}" >下一页</a></span>
  <span th:if="${pageInfo.isLastPage==false}"><a th:href="@{/house/guanli(pageNum=${pageInfo.pageNum+1})}">下一页</a></span>


 </DIV></DIV>
<DIV id=footer class=wrap>
<DL>
  <DT>爱家租房 © 2010 北大爱家 京ICP证1000001号</DT>
  <DD>关于我们 · 联系方式 · 意见反馈 · 帮助中心</DD></DL></DIV></BODY></HTML>
